package com.idsmanager.oauth.service.dto.user;

import com.idsmanager.oauth.domain.security.Privilege;
import com.idsmanager.oauth.domain.security.User;

import java.util.List;

public class UserEditTableDto extends UserDto{


    public UserEditTableDto() {
    }

    public UserEditTableDto(User user) {
        super(user);
    }


    public List<Privilege> getAllPrivileges() {
        return Privilege.availablePrivileges();
    }


}
